const path = require('path')
const p = path.basename(path.join(__dirname,'字典.txt'))
const p2 = path.extname(path.join(__dirname,'字典.txt'))
console.log(p)
console.log(p2)